package com.lavida.project.system.emp.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

public class Roster {

	private String company;
	private String fen_company;
	private String dept;
	private String group;
	private String gangwei;
	private String name;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date hiredate;
	private String status;
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date leavetime;
	private String id_card;
	private String job_id;
	private String contract_term;
	private String contract_id;
	public Roster() {
		super();
	}
	public Roster(String company, String fen_company, String dept, String group, String gangwei, String name,
			Date hiredate, String status, Date leavetime, String id_card, String job_id, String contract_term,
			String contract_id) {
		super();
		this.company = company;
		this.fen_company = fen_company;
		this.dept = dept;
		this.group = group;
		this.gangwei = gangwei;
		this.name = name;
		this.hiredate = hiredate;
		this.status = status;
		this.leavetime = leavetime;
		this.id_card = id_card;
		this.job_id = job_id;
		this.contract_term = contract_term;
		this.contract_id = contract_id;
	}
	public String getCompany() {
		return company;
	}
	public void setCompany(String company) {
		this.company = company;
	}
	public String getFen_company() {
		return fen_company;
	}
	public void setFen_company(String fen_company) {
		this.fen_company = fen_company;
	}
	public String getDept() {
		return dept;
	}
	public void setDept(String dept) {
		this.dept = dept;
	}
	public String getGroup() {
		return group;
	}
	public void setGroup(String group) {
		this.group = group;
	}
	public String getGangwei() {
		return gangwei;
	}
	public void setGangwei(String gangwei) {
		this.gangwei = gangwei;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Date getHiredate() {
		return hiredate;
	}
	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Date getLeavetime() {
		return leavetime;
	}
	public void setLeavetime(Date leavetime) {
		this.leavetime = leavetime;
	}
	public String getId_card() {
		return id_card;
	}
	public void setId_card(String id_card) {
		this.id_card = id_card;
	}
	public String getJob_id() {
		return job_id;
	}
	public void setJob_id(String job_id) {
		this.job_id = job_id;
	}
	public String getContract_term() {
		return contract_term;
	}
	public void setContract_term(String contract_term) {
		this.contract_term = contract_term;
	}
	public String getContract_id() {
		return contract_id;
	}
	public void setContract_id(String contract_id) {
		this.contract_id = contract_id;
	}
	@Override
	public String toString() {
		return "Roster [company=" + company + ", fen_company=" + fen_company + ", dept=" + dept + ", group=" + group
				+ ", gangwei=" + gangwei + ", name=" + name + ", hiredate=" + hiredate + ", status=" + status
				+ ", leavetime=" + leavetime + ", id_card=" + id_card + ", job_id=" + job_id + ", contract_term="
				+ contract_term + ", contract_id=" + contract_id + "]";
	}
	
}
